const app=new Vue({
	el:".form-horizontal",
	data:{
		account:null,
		password:null,
		verCode:null
	},
	methods:{
		login:function(){
			axios.post("http://127.0.0.1:8888/his/login",{
				account:app.account,
				password:app.password,
				verCode:app.verCode
			}).then(function (resp) {
				toast("登录成功");
                    }).catch(function (resp) {
				toast(resp.data.message);
			});
			this.account=null;
			this.password=null;
			this.verCode=null;
		}
	}
});